package com.sailing.lianxi.design.single;

import sun.security.jca.GetInstance;

/**
 * 饿汉模式 ，线程安全
 * @author Administrator
 *
 */
public class Singleton3 {

	private static Singleton3 obj = new Singleton3();
	
	private Singleton3(){};
	
	public static  Singleton3 getInstance(){
		return obj;
	}
}
